Gradient : API Documentation

Type IContextManager<T>

Namespace LostTech.Gradient

Represents Python context manager (a scope)

Methods

Public instance methods

T __enter__()

Initializes context

bool __exit__(object exceptionType, object exception, object traceback)

Disposes any resources, allocated for the context.